#include "DumbExample.h"

int8_t AverageThreeBytes(int8_t a, int8_t b, int8_t c)
{
    if (a == 0)
    {
        return 0;
    }
    else
    {
        return (int8_t)(((int16_t)a + (int16_t)b + (int16_t)c) / 3);
    }
}